/** 
 * @Description: 公共方法
 * @Author: 程前
 * @Date: 2024-12-02 15:28:24
 * @LastEditors: 程前
 * @LastEditTime: 2025-02-18 16:31:38
 */

import {
    initCesium,
    addImagery,
    addTerrain,
    setInputActionEvent,
    setEventByHandler,
    removeEventByHandler,
    removeInputActionEvent,
    removeAllMouseEvent,
    removeAllHandlerMouseEvent,
    disableCameraControl,
    enableCameraControl,
    rgbaStringToCesiumColor,
    transConstantPositionProperty,
    getCesiumScreenshot,
    freeCameraControl,
    fixedFreeCameraControl,
    customFlyTo,
    load3dTileset,
    setMouseLongPressIcon,
    transformCartesianToWGS84,
    addEarthWater
} from "./cesium"
import { getAssetsFile, clearLoader, setLoading, getSvgData, hexToRGBA, replacePlaceholders, throttle } from "./common"
import { createAMapImageryProvider, createBaiduImageryProvider, createCustomImageryProvider } from "./imagery"
import { eventBus } from "./eventbus"





export {
    // cesium
    initCesium,
    setInputActionEvent,
    setEventByHandler,
    removeEventByHandler,
    removeInputActionEvent,
    removeAllMouseEvent,
    removeAllHandlerMouseEvent,
    addImagery,
    addTerrain,
    disableCameraControl,
    enableCameraControl,
    rgbaStringToCesiumColor,
    transConstantPositionProperty,
    getCesiumScreenshot,
    freeCameraControl,
    fixedFreeCameraControl,
    customFlyTo,
    load3dTileset,
    setMouseLongPressIcon,
    transformCartesianToWGS84,
    addEarthWater,

    // 公共
    getAssetsFile,
    clearLoader,
    throttle,
    setLoading,
    eventBus,
    getSvgData,
    hexToRGBA,
    replacePlaceholders,


    // 图层方法
    createAMapImageryProvider,
    createBaiduImageryProvider,
    createCustomImageryProvider
}